perm filename EDFONT.TVR[UP,DOC]3 blob sn#032558 filedate 1973-03-29 generic text, type C, neo UTF8
COMMENT ⊗   VALID 00008 PAGES
C REC  PAGE   DESCRIPTION
C00001 00001
C00002 00002	Entering numbers and control bits.
C00003 00003	Cursor Moving Commands:
C00006 00004	Line editing commands:
C00007 00005	Fonts:
C00010 00006	Macros:
C00012 00007	Extended Commands:
C00016 00008	Misc. Commands:
C00017 ENDMK
C⊗;
Entering numbers and control bits.

α	Turn on CONTROL bit in following character.
β	Turn on META bit in following character.
ε	Turn on CONTROL and META bits in following character.
0-9	Enter numeric argument (which also precede command).
Cursor Moving Commands:

     U  I  O			These commands move cursor in the
      \ | /			direction indicated.  (K is a no-
       \|/			op included for symmetry and also
     J--K--L			re-output display).
       /|\	
      / | \
     M  ,  .

     R  T  Y			These commands move cursor in the
      \ | /			direction indicated and place the
       \|/			current character at cursor posi-
     F--G--H			tion.  Current character is init-
       /|\			ially set to * and may be changed
      / | \			with D, *, and  β<character> com-
     V  B  N			ands.


∧	equivalent to 5I	These four commands move cursor a
∨	equivalent to 5,	multiple of 5 units. This is also
≤	equivalent to 5J	distance between grid lines.
≥	equivalent to 5L

<	moves to top		Move to edges of screen.(Users of
>	moves to bottom		TVED note:   Commands < ≤ and ≤ >
<cr>	moves to left		are interchanged.)
α<tab>	moves to far right

The following are included for those people who use TVED or E 
frequently:

<lf>	equivalent to ,
<vt>	equivalent to I
<space>	equivalent to L
<bs>	equivalent to J

These commands set current character.

D	Set current character to <space> and place at cursor pos-
	tion effectively deleting that character.
β<char>	Set current character to <char> and place at cursor posi-
	tion.  (Non-printing characters other that space will not
	be permitted).
*	Set current character to * and place at cursor position.
Line editing commands:

E	     Invokes system line editor.
	 _
α<space>  |
αD	  |
αI	  |  Enter system line editor and execute this command.
αK	  |
α<bs>	 _|

Z	     Moves cursor to last non-blank character in line.
S<char>	     Moves to next occurance of this character,  wrapping
	     around if necessary.

"	     Add following line of text beginning at cursor posi-
	     tion.
'	     Take next character as direction command  (it should
	     one of {U,I,O,...}) and place following line of text
	     in the specified direction.
Fonts:

For information on font file format, see MODE0[XGP,SYS].

αR	Read character from font file. If none has been mentioned
	a file name will be requested and FNT will be assumed for
	an extension.  If there is no such file on your area, the
	system font area will also be checked.  After a font file
	has been selected, a file name will not be requested.  To
	select a different font file, type <altmode> instead of a
	character and a new font file name will be requested.

α∨	Same as αR except the character is OR'ed the current dis-
	play.

αW	Write character onto font file. The file name protocol is
	the same as αR.  You will be asked if to set width to:

	    C-CURSOR, D-DEFAULT, S-POSITION CURSOR THEN READ,
	    L-SAME AS LAST CHARACTER READ, <RETURN>-ABORT.

	C  sets the width to the number of units in X between the
	cursor and the origin.  D  is the default width, which is
	at least one extra bit for intercharacter spacing, and is
	proportional to size.  The default width is also the same
	as TVFONT uses to generate fonts.   S  allows you to save
	the cursor position and enter a temperary macro where you
	may use the usual commands to set the cursor position and 
	then type '⊃' to indicate you're done.   It then take the  
	current cursor position as in mode C. <RETURN> allows you
	to escape if you didn't really want to write that charac-
	ter yet.

	Note that EDFONT will  not  check if there is a character
	already defined for that code. However it will notify you
	if it is larger than any other character in that font.
Macros:

⊂	Begin macro.   All commands are saved up to next matching
	'⊃'.  Currently, commands that use the system line editor
	are illegal.  Macros may be nested to a depth of 20,  but
	macros length is limited by SAIL string space.

⊃	End macro.  Next character determines what happens to the
	macro:

	<number>R	Macros is repeated <number> times.
	λ<letter>	Macros is saved and may be invoked by the
			ε<letter> command,  and may also be saved
			on a file  (see extended commands MWRITE,
			MREAD and MLIST).
	Q		Don't do anything with macro.

∀	Begin macro to be repeated on each line. Macro is termin-
	ated with '⊃' (with no following character).

∃	Get back previous macro at current level.  Useful for re-
	peating macros and defining a macros which was terminated
	terminated with ⊃R or ⊃Q. [Not implimented yet.]

@	Use contents of file as macro.  (α,β and ε may be used to
	turn on appropriate control bits.)
Extended Commands:

An extended commands are invoked by typing 'X' followed by one of
the following.  (A more complete description of extended commands 
should be available soon.)

  Name 	    Function

  HELP      LIST EXTENDED COMMANDS

  READ	    READ TEXT FORMAT
  WRITE     WRITE TEXT FORMAT

  START     RESTART PROGRAM
  EXIT      EXIT TO MONITER
  ZERO      CLEAR WORK AREA

  MREAD	    READ MACROS FROM FILE
  MWRITE    WRITE OUT MACROS
  MLIST	    LIST CURRENT MACROS

  DREAD	    READ FONT DESCRIPTION
  DWRITE    WRITE FONT DESCRIPTION

  FDISPLAY  DISPLAY XAP FONT ON DATADISC

  LINSERT   INSERT A BLANK LINE
  LCOPY     COPY A LINE
  LDELETE   DELETE A LINE

  CINSERT   INSERT A BLANK COLUMN
  CCOPY     COPY A COLUMN
  CDELETE   DELETE A COLUMN

  DISPLAY   TURN ON DISPLAYING
  -DISPLAY  TURN OFF DISPLAYING
  GRID	    TURN ON GRID
  -GRID	    TURN OFF GRID
  DDCHAR    DISPLAY CHARACTER (DATA DISC ONLY) AS IT IS EDITTED.
  -DDCHAR   DISABLE DISPLAY OF CHARACTER

  XORSHIFT  SHIFT LINE IN X DIRECTION AND 'OR' WITH SELF
  YORSHIFT  'OR' WITH NEXT LINE
  XMIRROR   REFLECT IN X DIRECTION
  YMIRROR   REFLECT IN Y DIRECTION

  CORNER    MAKE THIS POINT THE UPPER LEFT CORNER;
  SETCENTER SET CENTER POINT FOR FONT EDITTING
Misc. Commands:

∪	     Push current position onto stack.
∩	     Pop current position off of stack.